package cn.yunhe.service;

import cn.yunhe.entity.AirModel;

import java.util.List;

public interface IAirService {
    //查询所有
    List<AirModel> findAll() throws Exception;

    //添加
    int addAir(AirModel model) throws Exception;

    //修改
    int updateAir(AirModel model) throws Exception;

    //按条件查询
    List<AirModel> findAirByCondition(String district) throws Exception;

    //根据编号查询对象的方法
    AirModel selectOneById(Integer id) throws Exception;
}
